package com.retailshop.shopuser.service.impl;

import com.retailshop.shopuser.entity.UserNoAndRank;

import com.retailshop.shopuser.mapper.UserNoAndRankMapper;
import com.retailshop.shopuser.service.UserNoAndRankService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("userNoAndRankService")
public class UserNoAndRankServiceImpl implements UserNoAndRankService {

    @Autowired
    UserNoAndRankMapper userNoAndRankMapper;

    @Override
    public List<UserNoAndRank> selectUserNoAndRankByPhone(String phone) {
        return userNoAndRankMapper.selectUserNoAndRankByPhone(phone);
    }
}
